package ai.people.netmon.whatsapp.monitor.service;

import ai.people.netmon.framework.domain.common.monitor.MonitorUsersListVO;
import ai.people.netmon.framework.domain.common.monitor.MonitorUsersVO;
import ai.people.netmon.framework.domain.whatsapp.monitor.entity.WhatsappUsers;
import ai.people.netmon.framework.domain.whatsapp.monitor.request.QueryRequest;
import ai.people.netmon.framework.model.response.PageResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglin
 * @since 2022-03-14
 */
public interface WhatsappUsersService extends IService<WhatsappUsers> {

    /**
     * 分页查询
     *
     * @param request 请求
     * @return {@link PageResponse}<{@link MonitorUsersListVO}>
     */
    PageResponse<MonitorUsersListVO> listPage(QueryRequest request);

    /**
     * 通过id获取用户信息
     *
     * @param uid uid
     * @return {@link MonitorUsersVO}
     */
    MonitorUsersVO getUsers(String uid);
}
